home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #9 / Amiga Plus CD - 2004 - No. 09.iso / amigaplus / tools / dev_libs / feelin040718 / sources / gauge / private.h < prev    next >
C/C++ Source or Header  |  2004-08-03  |  2KB  |  71 lines

  1. /*
  2.     FC_Gauge Header
  3. */
  4.  
  5. /*** Includes **************************************************************/
  6.  
  7. #include <libraries/feelin.h>
  8.  
  9. #include <proto/graphics.h>
  10. #include <proto/utility.h>
  11. #include <proto/feelin.h>
  12.  
  13. /*** Shared Variables ******************************************************/
  14.  
  15. extern struct FeelinBase           *FeelinBase;
  16. #define       GfxBase               FeelinBase -> Graphics
  17. #define       UtilityBase           FeelinBase -> Utility
  18.  
  19. /*** Structures ************************************************************/
  20.  
  21. struct LocalObjectData
  22. {
  23.     FAreaData                      *AreaData;
  24.     ULONG                           Flags;
  25.     STRPTR                          Info;
  26. };
  27.  
  28. /*** Dynamic ***************************************************************/
  29.  
  30. enum    {                                       // Attributes
  31.  
  32.         FA_Gauge_Simple,
  33.         FA_Gauge_Info
  34.  
  35.         }; 
  36.  
  37. enum    {                                       // Resolved
  38.  
  39.         FA_Numeric_Value,
  40.         FA_Numeric_Min,
  41.         FA_Numeric_Max
  42.  
  43.         };
  44.  
  45. #define FF_Gauge_Simple                         (1L << 0)
  46.  
  47. /***************************************************************************/
  48. /*** Preferences ***********************************************************/
  49. /***************************************************************************/
  50.  
  51. struct p_LocalObjectData
  52. {
  53.     FAreaData                      *AreaData;
  54.     FObject                         g_back,g_frame;
  55.     FObject                         g_gauge;
  56.     struct FeelinSignalHandler      SignalHandler;
  57.     BYTE                            Val;
  58. };
  59.  
  60.  
  61. #define FM_Gauge_Update                         (FCCM_BASE + 1)
  62.  
  63. enum    {                                       // Preference Auto
  64.  
  65.         p_FA_Numeric_Min,
  66.         p_FA_Numeric_Max,
  67.         p_FM_Numeric_Increase
  68.  
  69.         };
  70.  
  71.